<?php
session_start();
if($_SESSION["code"]==""){
	echo "<script>alert('请先登录系统');window.top.location.href='login.php';</script>";
}
?>